<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=factory::getCfg('project')?> - 管理后台登录</title>
<link rel="stylesheet" type="text/css" href="/misc/css/reset.css"  />
<link rel="stylesheet" type="text/css" href="/misc/css/base.css"  /> 
<link rel="shortcut icon" href="/misc/images/favicon.ico" type="image/x-icon" />
<script type="text/javascript" src="/misc/vendors/jquery/jquery_1.2.6.js"></script>
<script type="text/javascript" src="/misc/vendors/o2js/o2js.js"></script>
<script type="text/javascript" src="/misc/vendors/o2js/o2js_build.js"></script>
<script type="text/javascript">
var baseUrl = "<?=$themeUrl?>";
</script> 
</head>
<body>

<style type="text/css">
body{
background:url(/misc/images/client/lo_bg.gif) top left repeat-x;
background-color:#042052;
color:#003a66;
}
.lo_mian{
width:792px;
height:426px;
margin:0 auto;
}
.lo_m {
clear:both;
width:100%;
height:276px;
background:url(/misc/images/client/login_bg_03.jpg) no-repeat
}
.lo_b {
clear:both;
width:100%;
height:32px;
text-align:center;
line-height:32px;
color:#FFFFFF;
background:url(/misc/images/client/login_bg_04.gif) no-repeat
}
.boxh {
clear:both;
margin:15px 0;
position:relative;
}
.mianbox {
width:220px;
height:180px;
float:left;
margin:60px 0 0 20px;
}
#showkey{
position:relative;
top:9px;
}
a:hover{
background-color:transparent
}
.textBox {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FFFFFF;
    border-color: #C4C7BD #EFEFEF #F2F2F2 #D2D5CA;
    border-style: solid;
    border-width: 1px;
    color: #000000;
    font-size: 12px;
    padding: 3px;
}
.textBoxDate {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FFFFFF;
    border-color: #C4C7BD #EFEFEF #F2F2F2 #D2D5CA;
    border-style: solid;
    border-width: 1px;
    color: #000000;
    font-size: 12px;
    padding: 3px;
    width: 70px;
}
.textBoxLong {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FFFFFF;
    border-color: #C4C7BD #EFEFEF #F2F2F2 #D2D5CA;
    border-style: solid;
    border-width: 1px;
    color: #000000;
    font-size: 12px;
    padding: 3px;
    width: 250px;
}
.textBoxOn {
    background-color: #F4FFD4;
    border: 1px solid #A5C760;
    color: #000000;
    font-size: 12px;
    padding: 3px;
}
.textBoxRed {
    background-color: #FFFCFB;
    border: 1px solid #FF6633;
    color: #000000;
    font-size: 12px;
    padding: 3px;
}
.textBoxOff {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FCFCFC;
    border-color: #C4C7BD #EFEFEF #F2F2F2 #D2D5CA;
    border-style: solid;
    border-width: 1px;
    color: #000000;
    font-size: 12px;
    padding: 3px;
} 
</style>
<form id="form1" name="form1" method="post" action="" onsubmit="return fnSubmit()" >
	<div class="lo_mian">
		<div style="position:relative">
			<img src="/misc/images/client/login_bg_01.jpg"/>
		</div>
		<div class="lo_m">
			<div class="mianbox">
				<div class="boxh">
					登录账户： 
					<input type="text" maxlength="20" class="textBox" style="width:128px;" id="login_name" name="login_name" value="{$login_name}"  />
				</div>
				<div class="boxh">
					登录密码： 
					<input type="password" maxlength="20" style="width:128px;" class="textBox" id="login_password" name="login_password" value=""  />
				</div>
				<div class="boxh">
					验&nbsp;证&nbsp;码&nbsp;：
					<input value="" type="text" class="textBox" style="width:60px;" maxlength="4"  id="login_seccode" name="login_seccode"  />
					<img class="checkcode" style="cursor:pointer" src="/system/seccode?seccodename=admin_login&19666" onclick="this.src='/system/seccode?seccodename=admin_login&' + Math.random()" title="如果您无法识别验证码，请点图片更换"/>	
				</div>
				<div style="text-align: left;margin-left:63px;" class="boxh">
					<input type="image" src="/misc/images/client/lo_nbtn.gif" />	 
				</div>
				<div class="boxh" style="color:red">
					<?PHP
					if(isset($login_error) && $login_error != ''){
						echo  $login_error ;
					}
					?>
				</div>
			</div>
		</div>
		<div class="lo_b">
			Copyright © <?PHP echo date('Y');?> 田园牧歌 版权所有
		</div>
	</div>
</form>  
<script type="text/javascript">
$().ready(function(){
	$('#login_password').val(''); 
	$('#login_name').focus();
	
});
function fnSubmit(){
	if($('#login_name').val() == ''){
		alert('请输入登录账户！');
		$('#login_name').focus();
		return false;
	}
	if($('#login_password').val() == ''){
		alert('请输入登录密码！');
		$('#login_password').focus();
		return false;
	}
	if($('#login_seccode').val() == ''){
		alert('请输入验证码！');
		$('#login_seccode').focus();
		return false;
	}
	return true;
}
</script>
					 
</body>
</html>